package com.jumi.microservice.dto.logistics;

import com.jumi.microservice.common.base.dto.BaseRequest;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author by mazhao
 * @Classname MergeAllowAddRequest
 * @Description TODO
 * @Date 2020/8/17 10:48
 */
public class MergeAllowAddRequest extends BaseRequest {

    @ApiModelProperty(value="商品ID",required = true)
    private Integer goodsId;
    @ApiModelProperty(value="商品数量",required = true)
    private Integer goodsAmount;
    @ApiModelProperty(value="商品标签",required = true)
    private Integer goodsLabel;
    @ApiModelProperty("包裹号")
    private String logisticsNo;
    @ApiModelProperty(value="包裹列表",required = true)
    private List<PackageInfo> packageList;

    public Integer getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(Integer goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public String getLogisticsNo() {
        return logisticsNo;
    }

    public void setLogisticsNo(String logisticsNo) {
        this.logisticsNo = logisticsNo;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsLabel() {
        return goodsLabel;
    }

    public void setGoodsLabel(Integer goodsLabel) {
        this.goodsLabel = goodsLabel;
    }

    public List<PackageInfo> getPackageList() {
        return packageList;
    }

    public void setPackageList(List<PackageInfo> packageList) {
        this.packageList = packageList;
    }

    @Override
    public String toString() {
        return "MergeAllowAddRequest{" +
                "goodsId=" + goodsId +
                ", goodsLabel=" + goodsLabel +
                ", packageList=" + packageList +
                '}';
    }

    @Override
    public void checkRequest() {

    }
}
